<?php
require_once('../class/connect.php');
require_once('../class/db_sql.php');
require_once("../class/connect.php");
require_once("../class/db_sql.php");
require_once("../class/functions.php");
require_once("../class/user.php");
require_once("../class/say.php");

$_id=$_REQUEST['id'];
$db='phome_jat_pic';
$i=DbTouch($db,array('id'=>$_id));
if(empty($i)){echo '<div class="no-data" style="width:300px;height:200px;">照片不存在</div>';die();}

?>
<style>
.edi_one_pic{ width:500px;height:180px;padding:10px;}
.edi_one_pic table tbody tr th{width:70px;}
.edi_one_pic table tbody tr{height:36px;}
.edi_one_pic table tbody tr td{text-align:left;}
.edi_one_pic .title{color:#000;text-align:left;padding:5px;}
.remark{height:120px;width:360px;font-weight:bold;}
.info{padding:5px 10px;}
.error_box{background:#fefefe;}
.edi_one_pic .content{width:380px;height:100px;}
</style>
<div class='edi_one_pic'>

	<table cellspacing='0' cellpadding='0'>
		<tbody>
			<tr><th>名称：</th><td><input  class='title' value='<?=$i['title']?>'/></td></tr>
			<tr><th>描述：</th><td><textarea class='content' maxLength='200'><?=$i['content']?></textarea></td></tr>
			<tr><td colspan='2' style='text-align:center;'><input type='button' class='ok_submit' value='提交'/></td></tr>
		</tbody>
	</table>
</div>